From f56daaf167aa1da11e53f2d7be5d6df8bfaaac71 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 30 Jul 2004 22:55:28 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkcombobox.c | 7 +++++++ 5 files changed, 27 insertions(+) diff --git a/ChangeLog b/ChangeLog index e260f91445..d118a770e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-07-30 Matthias Clasen + + * gtk/gtkcombobox.c: Don't forget to destroy the row separator + function user data when the combo box is destroyed. + 2004-07-30 Matthias Clasen * gtk/gtkcombobox.h: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e260f91445..d118a770e1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2004-07-30 Matthias Clasen + + * gtk/gtkcombobox.c: Don't forget to destroy the row separator + function user data when the combo box is destroyed. + 2004-07-30 Matthias Clasen * gtk/gtkcombobox.h: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e260f91445..d118a770e1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2004-07-30 Matthias Clasen + + * gtk/gtkcombobox.c: Don't forget to destroy the row separator + function user data when the combo box is destroyed. + 2004-07-30 Matthias Clasen * gtk/gtkcombobox.h: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e260f91445..d118a770e1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2004-07-30 Matthias Clasen + + * gtk/gtkcombobox.c: Don't forget to destroy the row separator + function user data when the combo box is destroyed. + 2004-07-30 Matthias Clasen * gtk/gtkcombobox.h: diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index bfae4b0e73..1b0dc441db 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -4120,6 +4120,13 @@ gtk_combo_box_destroy (GtkObject *object) gtk_combo_box_popdown (combo_box); + if (combo_box->priv->row_separator_destroy) + (* combo_box->priv->row_separator_destroy) (combo_box->priv->row_separator_data); + + combo_box->priv->row_separator_func = NULL; + combo_box->priv->row_separator_data = NULL; + combo_box->priv->row_separator_destroy = NULL; + combo_box->priv->destroying = 1; GTK_OBJECT_CLASS (parent_class)->destroy (object); -- 2.30.2